package com.example.flashsales.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {

    //用户id
    private long id;
    //电话号码
    private String phone;
    //密码
    private String password;
    //余额
    private double money = 0.0;
    //商家id
    private long storeId;
    //店家邀请码
    private String code;

    private int sms;

    public String getInviteCode() {
        return code;
    }

    public void setInviteCode(String inviteCode) {
        code = inviteCode;
    }
}
